package com.jeesite.modules.isys.common.aop.query;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Search {

    //是否查找
    boolean search() default true;

    //查找的类型
    SearchTpype type() default SearchTpype.EQUAL;

    //查询的模式字符串
    String pattern() default "'%#arg#%'";

}
